#!/usr/bin/env gnuplot

set term wxt enhanced font '2'
set grid  #设置网格


set title "demo"
set key  box #设置图例
set xrang [0:10]

set xlabel "x"
set ylabel "y"

plot \
    "m.dat" u 1 w lp t "line1" ,\
    "m.dat" u 2 w lp t "line2" 


pause 2 #等待20s
quit